package com.app.auth.controller;

import java.util.HashMap;
import java.util.Map;

/**
 * @author sjw
 * @className AA
 * @date 2021/1/20 14:54
 * @description: TODO
 */
public class AA {
    public static void main(String[] args) {
        int a=2;
        int b=a+a;

        String aaa="1-44";
        System.out.println(aaa.startsWith("1-44-"));
        Map<Integer,Boolean> deptMap=new HashMap<Integer,Boolean>();
        deptMap.put(258,true);
        deptMap.put(new Integer(258),false);
        System.out.println(deptMap.get(new Integer(258)));
        System.out.println(deptMap.get(259));
        Boolean s=true;
        for(int i=0;i<6;i++){
            deptMap.put(i,s);
            if(i==4) s=false;
        }
        System.out.println(deptMap.get(1));
        System.out.println(deptMap.get(5));
        deptMap.clear();
        System.out.println(deptMap.get(1));
        System.out.println("2021-03">"2021-04");
//        System.out.printf();
    }
}
